package View;

import javax.swing.*;

public class Login {
    private JPanel panel1;
    private JButton Login;

    public static void main(String[] args) {
        JFrame frame = new JFrame("Login");
        frame.setContentPane(new Login().panel1);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(356,366);
        frame.setLocation(400,300);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

        JDialog jd = new JDialog(frame,"登陆成功");
        jd.setBounds(400,300,200,200);
        jd.setVisible(true);
        jd.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    }

    private JButton Register;
    private JTextField textField1;
    private JPasswordField passwordField1;
    private JLabel Password;
    private JLabel UserName;
}
